Skip to main content

All Questions

5votes
1answer
49views

How to do Exploratory Data Analysis when my response variable is binary?

I am doing a multilevel regression, and my response variable is binary (presence of females on a tech board). all the EDA methods i know are about plotting correlation, but this as this is a binary i ...
Anya's user avatar
1vote
1answer
92views

Linear Regression and Logistic Regression

I'm a beginner, and I'm wondering whether a logistic regression in a nut-shell is just normalizing a linear regression? Correct me if I'm wrong, but I came to this conclusion because the predicted ...
Justin Jonany's user avatar
0votes
1answer
33views

Help me identify the type of plot and the relationship between the dependent variables

Question: I am not sure how to describe the sample graph attached. Can you please help me identify the type of plot and how to statistically measure the relationship between the dependent variable (Y-...
Leo82's user avatar
1vote
1answer
54views

Why is my predictor value (continuous) perfectly correlated with my logit value (when testing logistic regression model assumptions)?

Question: Why is my predictor value (continuous) perfectly correlated with my logit value (when testing logistic regression model assumptions)? Code: ...
In_cognito's user avatar
0votes
0answers
31views

Is there a difference in result if we apply Polynomial / Kernel Regression on mean of target data, or all data?

Let's say we have some data : input data X with shape (1, N=100), this will be duplicated 1000 times. target data Y with shape (S=1000, N=100). We have 1000 experimental data points, samples. My ...
user143751's user avatar
4votes
1answer
363views

Force positive coefficients for Logistic Regression and LinearSVC

Do you know what is the best way to force positive coefficients with Logistic Regression and Linear SVC using scikit learn? for instance ...
Alex's user avatar
  • 165
0votes
1answer
131views

Can I use clustering after classification to improve the performance of my classifier?

Say I have a classifier that segments my feature vectors (e.g. representing applicants) into 3 distinct segments A, B, C by assigning each applicant a score between 0 (worst) and 1 (best) with e.g. a ...
user63726's user avatar
0votes
1answer
41views

How to use binomial regression in Python? Or any other appropriate analysis for this data set

How can I use binomial regression or any other appropriate analysis technique to find out how all of these factors affect the wins and losses of these teams?
user139448's user avatar
0votes
1answer
65views

Goodness on test or train set?

I split my data set before on train (80%) and test (20%) splits. Trained logistic regression model on the train set. Now, want to check the goodness of fit using the Chi-square likelihood omnibus test,...
Bambeil's user avatar
0votes
0answers
24views

Is a simple linear regression appropriate for an originally ordinal outcome variable?

Context: To form an index, I summed (and weighted) 2 variables containing ratings (1-9). Potentially problem: Wondering if it is appropriate to conduct a linear regression, all other assumptions being ...
in_cognito's user avatar
2votes
3answers
301views

Why should MLE be considered in Logistic Regression when it cannot give a definite solution?

If MLE (Maximum Likelihood Estimation) cannot give a proper closed-form solution for the parameters in Logistic Regression, why is this method discussed so much? Why not just stick to Gradient Descent ...
Apoorva's user avatar
1vote
1answer
1kviews

Difficulties in create a confusion matrix in R for Yes or No

I am new to regression and confusion matrix and trying to create a confusion matrix from logistic binary regression model. I am trying to create a confusion matrix from Yes or No values from the ...
painintheass's user avatar
1vote
1answer
328views

Trying to perform elastic-net regression in R

I am new to R and Elastic-Net Regression Model. I am running Elastic-Net Regression Model on the default dataset, titanic. I am trying to obtain the Alpha and Lambda values after running the train ...
painintheass's user avatar
1vote
1answer
172views

Binary Logistic Regression in R on the dataset, Titanic

I am new to R and Model Learning Algorithm. I am trying to perform Binary Logistic Regression on the training set using the Titanic dataset which is provided by default from R. I am running the ...
painintheass's user avatar
0votes
1answer
75views

Do I have to remove features with pairwise correlation even if I am doing a regularized logistic regression?

Normally we would remove features that have high pairwise correlation with another feature before performing regression. But is this step necessary if I am applying L2 regularized logistic regression (...
lostwanderer's user avatar

153050per page
close